<template>
	<view class="not-found">
		<image src="../../static/404.png" mode="center"></image>
		<navigator url="/" @click="goHome">返回首页</navigator>
	</view>
</template>
<script>
	export default {
		methods: {
			goHome (){
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>
<style lang="scss">
	.not-found{
		padding: 15% 0 12%;
		text-align: center;
		background-color: #FFFFFF;
		navigator{
			margin-top: 15px;
			padding: 15px 0;
			font-size: 16px;
			color: #ED7161;
		}
	}
</style>
